<div class="right-block col-xs-12 col-sm-8 col-md-8">
    <select id="languages" class="multi-languages custom" name="countriesFlag">
      <option value="vie" class="vn" <?php echo ($code=='_vn')?'selected':''?>>Viet Nam</option>
      <option value="eng" class="en" <?php echo ($code=='_en')?'selected':''?>>English</option>
    </select>

    <div id="slidemarginleft" class="search-box slide-01">
      <form id="frm-search" action="/products/search" method="get">
      <button type="button" class="bt-01">slide it</button>
      <div class="inner" style="margin-left: 350px;">
        <input type="text" value="" name="name" id="txtsearch" />
      </div>
    </div>
</div><!-- /right-block -->
<script>
$(document).ready(function(){
  $('.bt-01').click(function(){
    var txtsearch = $('#txtsearch').val();
    if(txtsearch != '') {
      $( "#frm-search" ).submit();
    }
  });
});
</script>
